//
//  YWAttachmentsView.h
//  maintain
//
//  Created by Kyo on 16/3/18.
//  Copyright © 2016年 ewin. All rights reserved.
//

#import <UIKit/UIKit.h>
@class YWattachment;

@protocol YWAttachmentsViewDelegate <NSObject>
-(void)handleAttachment:(YWattachment*)attachment;
@end

@interface YWAttachmentsView : UIView
@property (nonatomic, strong) NSArray* attachments;
@property (nonatomic ,weak)id<YWAttachmentsViewDelegate>delegate;
+ (CGSize)sizeWithCount:(NSUInteger)count;
+ (UIImage*)imageWithType:(NSString*)type;
+ (UIImage*)bigImageWithType:(NSString*)type;
@end
